import request from '../../utils/request'
Page({
  data:{
    searchContent:'',
    searchList:[],
    searchRecommend:'',
    PlaceholderContent:''
  },
  onLoad:function(){
    this.handleInput()
    this.getPlaceholderContent()
  },

 async getPlaceholderContent(){
  let res = await request('/search/default')
  this.setData({
    PlaceholderContent:res.data.showKeyword
  })
  },
 handleInput(e){
  // console.log(e.detail);  
}
 
})